enum InterpolType {Const = 0, Linear = 1, Quad = 2};